<template>
  <Test ref="test">
    <template #t1="{ array }">
      <ul>
        <li v-for="item of array" :key="item.id">
          编号:{{ item }}
        </li>
      </ul>
    </template>
  </Test>
</template>

<script setup lang="js" name="app">
import { ref } from 'vue';
import Test from "./components/test.vue"
let test = ref();
// console.log(test);
</script>

<style></style>